<?php 
	require_once "ajax.php";
	$ajax = ajax();
	$ajax->click("btConnexion",$ajax->form("login/testLogin/","frm"));
	//$ajax->click("btConnexion",$ajax->reponse=$ajax->call("test/affiche"));
	echo $ajax->init();
?>
<div id="test">
<div id="reponse"></div>
<br>
<div id='divLogin'>
<form id="frm" name="frm" method="post" action="login/testLogin/">
	<table>
		<tr>
			<td>Login : </td>
			<td><input type="text" name="login" id="login"/></td>
		</tr>
		<tr>
			<td>Password : </td>
			<td><input type="password" name="password" id="password"/></td>
		</tr>
		<tr>
			<td></td>
			<td style="text-align:right"><button name="btConnexion" id="btConnexion">Connexion</button></td>
		</tr>	
	</table>
</form>
</div>
</div>
<br>